package com.mc.fil.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.mc.common.annotation.Excel;
import com.mc.common.core.domain.BaseEntity;

/**
 * 除草 对象 fil_weeding
 *
 * @author mc
 * @date 2021-04-16
 */
public class FilWeeding extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 乐观锁 */
    private Long id;

    /** 创建人 */
    @Excel(name = "创建人")
    private String createUserId;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createdTime;

    /** 除草时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "除草时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date weedingDate;

    /** 除草方式 */
    @Excel(name = "除草方式")
    private String type;

    /** 效果 */
    @Excel(name = "效果")
    private String effect;

    /** 执行人编号 */
    @Excel(name = "执行人编号")
    private String workUserId;

    /** 采种田编号 */
    @Excel(name = "采种田编号")
    private String filId;

    /** 除草剂 */
    @Excel(name = "除草剂")
    private String herbicide;

    /** 施用日期 */
    @Excel(name = "施用日期")
    private String useDate;

    /** 施用面积 */
    @Excel(name = "施用面积")
    private String useArea;

    /** 施用剂量 */
    @Excel(name = "施用剂量")
    private String useDose;

    /** 施用方法 */
    @Excel(name = "施用方法")
    private String useActive;

    /** 时效性 */
    @Excel(name = "时效性")
    private String timeliness;

    /** 对植株影响程度 */
    @Excel(name = "对植株影响程度")
    private String influenceDegree;

    /** 影响部位 */
    @Excel(name = "影响部位")
    private String influenceParts;

    /** 植株产生效果 */
    @Excel(name = "植株产生效果")
    private String produceEffect;

    private List<FilMultimedia> photos;

    public List<FilMultimedia> getPhotos() {
        return photos;
    }

    public void setPhotos(List<FilMultimedia> photos) {
        this.photos = photos;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setCreateUserId(String createUserId)
    {
        this.createUserId = createUserId;
    }

    public String getCreateUserId()
    {
        return createUserId;
    }
    public void setCreatedTime(Date createdTime)
    {
        this.createdTime = createdTime;
    }

    public Date getCreatedTime()
    {
        return createdTime;
    }
    public void setWeedingDate(Date weedingDate)
    {
        this.weedingDate = weedingDate;
    }

    public Date getWeedingDate()
    {
        return weedingDate;
    }
    public void setType(String type)
    {
        this.type = type;
    }

    public String getType()
    {
        return type;
    }
    public void setEffect(String effect)
    {
        this.effect = effect;
    }

    public String getEffect()
    {
        return effect;
    }
    public void setWorkUserId(String workUserId)
    {
        this.workUserId = workUserId;
    }

    public String getWorkUserId()
    {
        return workUserId;
    }
    public void setFilId(String filId)
    {
        this.filId = filId;
    }

    public String getFilId()
    {
        return filId;
    }
    public void setHerbicide(String herbicide)
    {
        this.herbicide = herbicide;
    }

    public String getHerbicide()
    {
        return herbicide;
    }
    public void setUseDate(String useDate)
    {
        this.useDate = useDate;
    }

    public String getUseDate()
    {
        return useDate;
    }
    public void setUseArea(String useArea)
    {
        this.useArea = useArea;
    }

    public String getUseArea()
    {
        return useArea;
    }
    public void setUseDose(String useDose)
    {
        this.useDose = useDose;
    }

    public String getUseDose()
    {
        return useDose;
    }
    public void setUseActive(String useActive)
    {
        this.useActive = useActive;
    }

    public String getUseActive()
    {
        return useActive;
    }
    public void setTimeliness(String timeliness)
    {
        this.timeliness = timeliness;
    }

    public String getTimeliness()
    {
        return timeliness;
    }
    public void setInfluenceDegree(String influenceDegree)
    {
        this.influenceDegree = influenceDegree;
    }

    public String getInfluenceDegree()
    {
        return influenceDegree;
    }
    public void setInfluenceParts(String influenceParts)
    {
        this.influenceParts = influenceParts;
    }

    public String getInfluenceParts()
    {
        return influenceParts;
    }
    public void setProduceEffect(String produceEffect)
    {
        this.produceEffect = produceEffect;
    }

    public String getProduceEffect()
    {
        return produceEffect;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createUserId", getCreateUserId())
                .append("createdTime", getCreatedTime())
                .append("weedingDate", getWeedingDate())
                .append("type", getType())
                .append("remark", getRemark())
                .append("effect", getEffect())
                .append("workUserId", getWorkUserId())
                .append("filId", getFilId())
                .append("herbicide", getHerbicide())
                .append("useDate", getUseDate())
                .append("useArea", getUseArea())
                .append("useDose", getUseDose())
                .append("useActive", getUseActive())
                .append("timeliness", getTimeliness())
                .append("influenceDegree", getInfluenceDegree())
                .append("influenceParts", getInfluenceParts())
                .append("produceEffect", getProduceEffect())
                .append("photos", getPhotos())
                .toString();
    }
}